<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\modules\clinical\models\ExcelHsp;

/* @var $this yii\web\View */
/* @var $model app\models\ExcelHsp */
/* @var $form yii\widgets\ActiveForm */
?>

<h4>病史资料（注意有无癫痫发作、糖尿病等）</h4>

<div class="form-group">
    <?= Html::label('患者姓名', 'pt_rel') ?><br />
    <?= Html::dropDownList('pt_rel', (!empty($pt_rel)) ? $pt_rel : 0, $pt_rel_list, ($model->isNewRecord) ? ['class' => 'pt_rel_list'] : ['class' => 'pt_rel_list', 'disabled' => 'true']) ?>
</div>

<?= $form->field($model, 'pt_age')->textInput()->error(false) ?><br />

<?= $form->field($model, 'pt_history')->textArea(['maxlength' => true])->error(false) ?>

<h4>体格检查</h4>

<b>肌力：</b><br />

<?= $form->field($model, 'bd_jili_lu')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

<?= $form->field($model, 'bd_jili_ld')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

<?= $form->field($model, 'bd_jili_ru')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

<?= $form->field($model, 'bd_jili_rd')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?><br />

<b>肌张力：</b><br />

| <?= $form->field($model, 'bd_jiz_lu')->radioList(ExcelHsp::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_jiz_ld')->radioList(ExcelHsp::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_jiz_ru')->radioList(ExcelHsp::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_jiz_rd')->radioList(ExcelHsp::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?><br />

<b>腱反射：</b><br />

| <?= $form->field($model, 'bd_fanshe_er')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_san')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_rao')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_xi')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_fanshe_huai')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_zhen_bin')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_zhen_huai')->radioList(ExcelHsp::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_bingli')->radioList(ExcelHsp::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_hoffman')->radioList(ExcelHsp::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_zhangai')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

| <?= $form->field($model, 'bd_xiazhi_zhen')->radioList(ExcelHsp::getParams('xiazhi_zhen'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_xiazhi_wei')->radioList(ExcelHsp::getParams('xiazhi_zhen'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_zhuiti')->textArea(['maxlength' => true])->error(false) ?><br />

<b>共济运动：</b><br />

| <?= $form->field($model, 'bd_gg_zhibi')->radioList(ExcelHsp::getParams('zhibi'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_gg_genxi')->radioList(ExcelHsp::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_gg_romberg')->radioList(ExcelHsp::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_gg_yizi')->radioList(ExcelHsp::getParams('yizi'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_shenjing')->textArea(['maxlength' => true])->error(false) ?><br />

| <?= $form->field($model, 'bd_weisuo_ji')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_gongxing')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_butai')->textArea(['maxlength' => true])->error(false) ?><br />

| <?= $form->field($model, 'bd_weisuo_shi')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_sesu')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_gouyin')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_shiyu')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

| <?= $form->field($model, 'bd_yanzhen')->radioList(ExcelHsp::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

<?= $form->field($model, 'bd_chidai')->textArea(['maxlength' => true])->error(false) ?><br />

<?= $form->field($model, 'bd_else')->textArea(['maxlength' => true])->error(false) ?><br />

<?= $form->field($model, 'bd_fayu')->textArea(['maxlength' => true])->error(false) ?><br /><br />
